package wyn.entity;

import javax.persistence.*;

/**
 * Created by 王亚楠 on 2016/2/21.
 */
@Entity
@Table(name = "sys_name", schema = "sshdemo")
public class SysName {
    private String guid;
    private String name;
    private int age;
    private Double power;

    @Id
    @Column(name = "guid")
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "age")
    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Basic
    @Column(name = "power")
    public Double getPower() {
        return power;
    }

    public void setPower(Double power) {
        this.power = power;
    }

}
